﻿using JinYuan.Models.HelperAttribute;
using SqlSugar;

namespace JinYuan.Models
{
    /// <summary>
    /// 电芯进站
    /// </summary>
    public class AGearEntity
    {
        /// <summary>
        /// 通道
        /// </summary>
        //[SugarColumn(IsIgnore = true)] //不存储到数据库
        [DataGridViewColumn(Name = "InChannelNo")]
        public string ChannelNo { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        [DataGridViewColumn(Name = "InTestTime")]
        public string TestTime { get; set; }
        /// <summary>
        /// 高托杯码
        /// </summary>
        public string RFID { get; set; }
        /// <summary>
        /// 卷芯码
        /// </summary>
        [DataGridViewColumn(Name = "InBarCode")]
        public string BarCode { get; set; }
        /// <summary>
        /// 结果
        /// </summary>
        [DataGridViewColumn(Name = "InResult")]
        public string Result { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [DataGridViewColumn(Name = "InRemark")]
        public string Remark { get; set; }
        /// <summary>
        /// 进站是否上传MES
        /// </summary>
        [DataGridViewColumn(Name = "InFlag")]
        public string Flag { get; set; }

    }
}
